<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的个人主页</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Arial', sans-serif;
        }

        body {
            display: grid;
            grid-template-columns: 200px 1fr 300px;
            grid-template-rows: 60px 1fr;
            height: 100vh;
            background-color: #f5f5f5;
        }

        /* 顶部搜索栏 */
        .search-bar {
            grid-column: 2 / 4;
            grid-row: 1;
            background-color: #fff;
            padding: 10px 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
            display: flex;
            align-items: center;
        }

        .search-bar input {
            width: 100%;
            max-width: 500px;
            padding: 8px 15px;
            border: 1px solid #ddd;
            border-radius: 20px;
            outline: none;
            font-size: 14px;
        }

        /* 左侧导航栏 */
        .sidebar {
            grid-column: 1;
            grid-row: 1 / 3;
            background-color: #2c3e50;
            color: white;
            padding: 20px 0;
        }

        .logo {
            text-align: center;
            padding: 0 20px 20px;
            border-bottom: 1px solid #34495e;
            margin-bottom: 20px;
        }

        .nav-menu {
            list-style: none;
        }

        .nav-menu li {
            padding: 12px 20px;
            cursor: pointer;
            transition: background-color 0.3s;
        }

        .nav-menu li:hover {
            background-color: #34495e;
        }

        .nav-menu li.active {
            background-color: #3498db;
        }

        .nav-menu li i {
            margin-right: 10px;
        }

        /* 主内容区 */
        .main-content {
            grid-column: 2;
            grid-row: 2;
            padding: 20px;
            background-color: #fff;
            margin: 10px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        /* 右侧日历 */
        .calendar {
            grid-column: 3;
            grid-row: 2;
            padding: 20px;
            background-color: #fff;
            margin: 10px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }

        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }

        .calendar-title {
            font-size: 18px;
            font-weight: bold;
        }

        .calendar-nav button {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 16px;
            padding: 5px;
        }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            text-align: center;
            margin-bottom: 10px;
            font-weight: bold;
            color: #7f8c8d;
        }

        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 5px;
        }

        .calendar-day {
            padding: 8px;
            text-align: center;
            border-radius: 50%;
            cursor: pointer;
        }

        .calendar-day:hover {
            background-color: #f0f0f0;
        }

        .calendar-day.today {
            background-color: #3498db;
            color: white;
        }

        .calendar-day.other-month {
            color: #bdc3c7;
        }
    </style>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
</head>
<body>
    <!-- 顶部搜索栏 -->
    <div class="search-bar">
        <input type="text" placeholder="搜索...">
    </div>

    <!-- 左侧导航栏 -->
    <div class="sidebar">
        <div class="logo">
            <h2>我的主页</h2>
        </div>
        <ul class="nav-menu">
            <li class="active"><i class="fas fa-home"></i>首页</li>
            <li><i class="fas fa-user"></i>个人资料</li>
            <li><i class="fas fa-envelope"></i>消息</li>
            <li><i class="fas fa-image"></i>相册</li>
            <li><i class="fas fa-file"></i>文件</li>
            <li><i class="fas fa-cog"></i>设置</li>
            <li><i class="fas fa-sign-out-alt"></i>退出</li>
        </ul>
    </div>

    <!-- 主内容区 -->
    <div class="main-content">
        <h2>欢迎回来！</h2>
        <p>这里是您的主页内容区域。您可以在这里添加任何您想要展示的内容，如动态、通知、文章等。</p>
        <div style="margin-top: 20px;">
            <h3>最新动态</h3>
            <p>2023年10月15日 - 更新了个人资料</p>
            <p>2023年10月10日 - 上传了新照片</p>
            <p>2023年10月5日 - 发表了一篇新文章</p>
        </div>
    </div>

    <!-- 右侧日历 -->
    <div class="calendar">
        <div class="calendar-header">
            <div class="calendar-title">2023年10月</div>
            <div class="calendar-nav">
                <button><i class="fas fa-chevron-left"></i></button>
                <button><i class="fas fa-chevron-right"></i></button>
            </div>
        </div>

        <div class="calendar-weekdays">
            <div>日</div>
            <div>一</div>
            <div>二</div>
            <div>三</div>
            <div>四</div>
            <div>五</div>
            <div>六</div>
        </div>

        <div class="calendar-days">
            <div class="calendar-day other-month">25</div>
            <div class="calendar-day other-month">26</div>
            <div class="calendar-day other-month">27</div>
            <div class="calendar-day other-month">28</div>
            <div class="calendar-day other-month">29</div>
            <div class="calendar-day other-month">30</div>
            <div class="calendar-day">1</div>
            <div class="calendar-day">2</div>
            <div class="calendar-day">3</div>
            <div class="calendar-day">4</div>
            <div class="calendar-day">5</div>
            <div class="calendar-day">6</div>
            <div class="calendar-day">7</div>
            <div class="calendar-day">8</div>
            <div class="calendar-day">9</div>
            <div class="calendar-day">10</div>
            <div class="calendar-day">11</div>
            <div class="calendar-day">12</div>
            <div class="calendar-day">13</div>
            <div class="calendar-day">14</div>
            <div class="calendar-day today">15</div>
            <div class="calendar-day">16</div>
            <div class="calendar-day">17</div>
            <div class="calendar-day">18</div>
            <div class="calendar-day">19</div>
            <div class="calendar-day">20</div>
            <div class="calendar-day">21</div>
            <div class="calendar-day">22</div>
            <div class="calendar-day">23</div>
            <div class="calendar-day">24</div>
            <div class="calendar-day">25</div>
            <div class="calendar-day">26</div>
            <div class="calendar-day">27</div>
            <div class="calendar-day">28</div>
            <div class="calendar-day">29</div>
            <div class="calendar-day">30</div>
            <div class="calendar-day">31</div>
            <div class="calendar-day other-month">1</div>
            <div class="calendar-day other-month">2</div>
            <div class="calendar-day other-month">3</div>
            <div class="calendar-day other-month">4</div>
        </div>
    </div>
</body>
</html>
